from rich.console import Console
from time import sleep

console = Console()

data = [i*3 for i in range(25)]

print(data)

with console.status("[bold green]Fetching data...") as status:
    while data:
        num = data.pop(0)
        sleep(1)
        console.log(f"[green]Finish fetching data[/green] {num}")

    console.log("[bold green]Done![/bold green]")

